package com.xinyues.gamemanager.dao.entity;

import java.util.ArrayList;
import java.util.List;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import com.xinyues.gamemanager.dao.entity.model.MenuNode;

@Document
public class GmMenu {
    @Id
    private String id;
    private List<MenuNode> menuNodes = new ArrayList<>();
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public List<MenuNode> getMenuNodes() {
        return menuNodes;
    }
    public void setMenuNodes(List<MenuNode> menuNodes) {
        this.menuNodes = menuNodes;
    }
    
    
    
    
}
